Skip to content

Conversation

@localheinz
Copy link
Contributor

@localheinz localheinz commented Jul 8, 2022

This pull request

  • moves and renames tests

Follows #606.

--FILE--
<?php
require_once __DIR__ . "/../autoload.php";
require_once __DIR__ . "/../../../autoload.php";
Copy link
Contributor Author

@localheinz localheinz Jul 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we used phpunit/phpunit, I would create a test for phpweb/UserNotes/Sorter in one of

  • phpweb/Test/UserNotes/SorterTest
  • phpweb/Test/Unit/UserNotes/SorterTest

to have some sort of 1:1 mapping of class and test case.

Does that make sense?

@kamil-tekiela
Copy link
Member

How about using more descriptive file names?

@localheinz localheinz changed the title Fix: Move tests Fix: Move and rename tests Jul 9, 2022
@kamil-tekiela kamil-tekiela merged commit b9da39a into php:master Jul 9, 2022
@localheinz localheinz deleted the fix/move branch July 9, 2022 10:35
@localheinz
Copy link
Contributor Author

Thank you, @kamil-tekiela!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants